package com.zerowidth.db.base;

import com.zerowidth.db.utils.IOUtils;

import java.io.Closeable;
import java.sql.ResultSet;
import java.sql.Statement;

public class SqlResult implements Closeable {

    public Statement stat;
    public ResultSet rs;

    @Override
    public void close() {
        IOUtils.close(stat);
        IOUtils.close(rs);
    }

}